<?php
	include "connect.php";
	
	$no=$_GET['no'];
	$query="DELETE FROM post WHERE no=$no";
	
	$result=mysql_query($query) or die('Error: '. mysql_error());

	header('Location: qna.php');
	exit;
?>